.file-browser-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
}

.file-browser-navigation {
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  height: 32px;
  display: flex;
  align-items: center;
  width: 100%;
}

.file-browser-content {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
}

/* 可调节大小的树容器 */
.file-browser-tree-resizable {
  height: 100%;
  border-right: 1px solid #e8e8e8;
  background-color: #fff;
  flex-shrink: 0;
  position: relative;
}

/* 调节手柄样式 */
.file-browser-tree-resizable .react-resizable-handle {
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  cursor: col-resize;
  z-index: 10;
}

.file-browser-tree-resizable .react-resizable-handle:hover {
  background: #1890ff;
}

.file-browser-tree {
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #fff;
}

.file-browser-files {
  flex: 1;
  width: 0;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.file-browser-files .file-list-container {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.file-browser-files .ant-table-wrapper {
  flex: 1;
  min-height: 0;
}

.file-browser-files .ant-table {
  height: 100%;
}

.file-browser-files .ant-table-container {
  height: 100%;
}

.file-browser-files .ant-table-header {
  background: #fafafa;
}

.file-browser-files .ant-table-body {
  height: calc(100% - 26px) !important;
  overflow-y: auto !important;
}

/* 滚动条样式 */
.file-browser-tree::-webkit-scrollbar,
.file-browser-files::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.file-browser-tree::-webkit-scrollbar-track,
.file-browser-files::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.file-browser-tree::-webkit-scrollbar-thumb,
.file-browser-files::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.file-browser-tree::-webkit-scrollbar-thumb:hover,
.file-browser-files::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 加载状态样式 */
.file-browser-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* 加载状态和空状态的样式 */
.file-browser-main .ant-spin,
.file-browser-main .ant-empty {
  margin: auto;
} 